]> dgit.raspbian.org Git - pandas.git/commit
Python 3.15 compatibility fixes
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Wed, 16 Sep 2026 19:30:23 +0000 (20:30 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 16 Sep 2026 19:30:23 +0000 (20:30 +0100)
commitd72dc8d351776bca2808cf4db9b95dc84a16a8d5
tree4fbdf9310e0ac7b63a2a7ccf90c7979442b4ec02
parente3d6e57bcd4ba51599b1e689318116e042fc2808
Python 3.15 compatibility fixes

Backport of upstream commit 7bb284ac43 (PR #66473) for Python 3.15 support:
 - Support optional %z and %:z (colon_z) in strptime
 - Explicitly close XML iterparse parser to avoid unclosed iterator ResourceWarning
 - Accept Python 3.15 TypeError / ValueError error message changes in tests
 - Define and export PY315 in pandas.compat

Origin: upstream 7bb284ac438d2b981a7f42e3bdd0fe5ee26aada0
Author: Álvaro Kothe, Maximiliano Curia
Bug: https://github.com/pandas-dev/pandas/issues/66473
Bug-Debian: https://bugs.debian.org/1144864
Forwarded: not-needed

Gbp-Pq: Name python3p15compat.patch
pandas/_libs/tslibs/strptime.pyx
pandas/compat/__init__.py
pandas/compat/_constants.py
pandas/io/xml.py
pandas/tests/frame/indexing/test_indexing.py
pandas/tests/indexes/period/test_partial_slicing.py
pandas/tests/indexes/test_old_base.py
pandas/tests/indexing/test_floats.py
pandas/tests/scalar/timestamp/test_constructors.py
pandas/tests/tools/test_to_datetime.py